import request from '@/utils/request'

/**
 * 分页获取学生列表
 * @param {*} page 页码
 * @param {*} limit 页容量
 */
export const getTeacherList = (page, limit) => {
  return request({
    url: `/eduservice/teacherfront/getTeacherFrontList/${page}/${limit}`,
    method: 'POST'
  })
}

// 讲师详情
export const getTeacherInfo = id => {
  return request({
    url: `/eduservice/teacherfront/getTeacherFrontInfo/${id}`,
    method: 'get'
  })
}
